package ooday04;

public class StaticBlock {
    static {//类在被加载时，静态块优先加载，并且只加载一次，后续new对象是，静态块都不会再被加载
        System.out.println("静态块");
    }
    StaticBlock(){
        System.out.println("构造方法");
    }
}
